include ../../build/config.mk
CC=g++
SQLRELAY_DIR=$(INSTALL_DIR)
SQLRELAY_LIB_DIR=$(SQLRELAY_DIR)/lib
SQLRELAY_INCLUDE_DIR=$(SQLRELAY_DIR)/include
INCLUDEDIR=$(SQLRELAY_INCLUDE_DIR)
LIBDIR=$(SQLRELAY_LIB_DIR)
LIB=-lrudiments 

TEST_SRCS=${wildcard *.cpp}
TEST_OBJS=${patsubst %.cpp, %, $(TEST_SRCS)}
all:$(TEST_OBJS)
$(TEST_OBJS):%:%.cpp 
	$(CC) $^ -o $@.out -I$(INCLUDEDIR)  -L$(LIBDIR) $(LIB)

clean:
	rm -fr *.out

